6311e0
@@ -897,7 +897,7 @@
private void dropPathAndUnregisterDeleteOnExit(Path path, Configuration conf, bo
   /**
    * Setup authentication and authorization plugins for this session.
    */
-  private void setupAuth() {
+  private synchronized void setupAuth() {
 
     if (authenticator != null) {
       // auth has been initialized
